<!DOCTYPE html>
<html>

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Yayaysan Pendidikan Salman Al Farisi Yogyakarta</title>
	
	<link rel="shortcut icon" href="<?php echo base_url()?>content/theme/images/favicon.ico">

  <!-- Core CSS - Include with every page -->
  <link href="<?php echo base_url()?>content/theme/css/bootstrap.css" rel="stylesheet">
  <link href="<?php echo base_url()?>content/theme/fonts/font-awesome/css/font-awesome.css" rel="stylesheet">

  <!-- SB Admin CSS - Include with every page -->
  <link href="<?php echo base_url()?>content/theme/css/sb-admin.css" rel="stylesheet">
  <link href="<?php echo base_url()?>content/theme/css/custom.css" rel="stylesheet">
	
	<!-- Plugins -->
	<link href="<?php echo base_url()?>content/theme/css/plugins/datepicker/dp3.css" rel="stylesheet">
	
	<!-- Core Scripts - Include with every page -->    
	<script src="<?php echo base_url()?>content/theme/js/jquery-1.10.2.js"></script>
  <script src="<?php echo base_url()?>content/theme/js/bootstrap.min.js"></script>
  <!-- Validasi -->
  <script src="<?php echo base_url(); ?>content/theme/js/validasi/jquery.validate.js"></script>
  <script src="<?php echo base_url(); ?>content/theme/js/validasi/additional-methods.js"></script>
  
  <script src="<?php echo base_url(); ?>content/theme/js/autoNumeric.js"></script>
  <script src="<?php echo base_url(); ?>content/theme/js/number_format.js"></script>
  <style type="text/css">
    form {  }
    form label.error {
      padding: 2px 5px; 
      background: #ffdddd; 
      margin: 0px 0; 
      border-radius: 0px; 
      width: 100%;
      font-weight: normal;
      font-style: italic;
    }
  </style>
</head>

<body>

    <div id="wrapper">

        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header pull-left">
                <a class="navbar-brand" href="index.php">Payment Apps (Tahun Pelajaran <?php echo get_tapel_aktif();?>)	</a>
				
            </div>
			
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right pull-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
						<?php
						$nama_user=$this->session->userdata('nama');
						$nama_lembaga=$this->session->userdata('nama_lembaga');
						echo $nama_user;
						?>
                        &nbsp;<i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-messages">
                        <li><a href="<?php echo base_url('profil');?>"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="<?php echo site_url('login/logout'); ?>"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-messages -->
                </li>
            </ul>
            <div class="clearfix"></div>
            <!-- /.navbar-top-links -->

            
            <div class="outer100atas">
                <div class="container-fluid">
                  <ul class="nav-atas-b">
                    <li>
                      <a href="<?php echo base_url()?>dashboard">
                        <p class="p-menu-icon text-center"><span class="glyphicon glyphicon-home"></span></p>
                        <p class="p-menu">Dashboard</p>
                      </a>
                    </li>
                    <li>
                      <a href="<?php echo site_url()."atur_kelas"; ?>">
                        <p class="p-menu-icon text-center"><span class="glyphicon glyphicon-cog"></span></p>
                        <p class="p-menu">Pengaturan</p>
                      </a>
                    </li>
					<li>
                      <a href="<?php echo site_url()."pembayaran_semua"; ?>">
                        <p class="p-menu-icon text-center"><i class="fa fa-money fa-fw"></i></p>
                        <p class="p-menu">Pembayaran</p>
                      </a>
                    </li>
                    <li class="pull-right text-right nama-perusahaan">
                        Yayasan Pendidikan Salman Al Farisi Yogyakarta
                        <p class="tagline">Terdepan Dalam Prestasi, Menggapai Ridla Ilahi</p>
                    </li>
                  <div class="clearfix"></div>
                  </ul>
                </div>
            <div class="clearfix"></div>
            </div>
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div class="navbar-default navbar-static-side" role="navigation">
                <div class="sidebar-collapse">
                    <ul class="nav" id="side-menu">
                        <li>
                            <a href="<?php echo base_url()?>dashboard"><i class="fa fa-home fa-fw"></i> Dashboard</a>
                        </li>
						<li>
                            <a href=""><i class="fa fa-folder-open fa-fw"></i> Master<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
                                <li><a href="<?php echo base_url()?>mr_user">Pengguna</a></li>
                                <li><a href="<?php echo base_url()?>mr_gaji">Gaji</a></li>                              
                                <li><a href="<?php echo base_url()?>mr_pekerjaan">Pekerjaan</a></li>                              
                                <li><a href="<?php echo base_url()?>mr_pendidikan">Pendidikan</a></li>  
                                <li><a href="<?php echo base_url()?>mr_lembaga">Lembaga</a></li>                             
                                <li><a href="<?php echo base_url()?>mr_kelas">Kelas</a></li>                              
                                <li><a href="<?php echo base_url()?>mr_tapel">Tahun Ajaran</a></li>                              
                                <li><a href="<?php echo base_url()?>mr_komp_pembayaran">Komponen Pembayaran</a></li>                              
                            </ul>
                        </li>
						<li>
                            <a href=""><i class="fa fa-users fa-fw"></i> SDM<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
								<li><a href="<?php echo base_url()?>mr_pegawai">Pegawai</a></li>
								<li><a href="<?php echo base_url()?>mr_siswa">Siswa</a></li>          
                            </ul>
                        </li>
						<li>
                            <a href=""><i class="fa fa-wrench fa-fw"></i> Pengaturan<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
								<li><a href="<?php echo base_url()?>atur_kelas">Atur Kelas</a></li>
								<li><a href="<?php echo base_url()?>set_pembayaran_bulanan/lembaga">Atur Pembayaran Bulanan</a></li>
								<li><a href="<?php echo base_url()?>set_pembayaran_tahunan/lembaga">Atur Pembayaran Tahunan</a></li>
								<li><a href="<?php echo base_url()?>set_pembayaran_sekali/lembaga">Atur Pembayaran Sekali</a></li>
                            </ul>
                        </li>
						<li>
                            <a href="<?php echo base_url()?>bagi_kelas"><i class="fa fa-sitemap fa-fw"></i> Pembagian dan Kenaikan Kelas<span class="fa arrow"></span></a>
                        </li>
						<li>
                            <a href=""><i class="fa fa-usd fa-fw"></i>Tagihan Massal<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
								<li><a href="<?php echo base_url()?>pembayaran_sekali_masal">Tagihan Sekali</a></li>
								<li><a href="<?php echo base_url()?>pembayaran_tahunan_masal">Tagihan Tahunan</a></li>
								<li><a href="<?php echo base_url()?>pembayaran_bulanan_masal">Tagihan Bulanan</a></li>
								<!-- <li><a href="<?php echo base_url()?>pembayaran_bebas">Pembayaran Bebas</a></li> -->
                            </ul>
                        </li>
						<li>
                            <a href=""><i class="fa fa-usd fa-fw"></i> Setting Pembayaran<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
								<li><a href="<?php echo base_url()?>pembayaran_sekali">Setting Tagihan Sekali</a></li>
								<li><a href="<?php echo base_url()?>pembayaran_tahunan">Setting Tagihan Tahunan</a></li>
								<li><a href="<?php echo base_url()?>pembayaran_bulanan">Setting Tagihan Bulanan</a></li>
								<!-- <li><a href="<?php echo base_url()?>pembayaran_bebas">Pembayaran Bebas</a></li> -->
                            </ul>
                        </li>
						<li>
                            <a href=""><i class="fa fa-usd fa-fw"></i> Laporan<span class="fa arrow"></span></a>
							 <ul class="nav nav-second-level">
								<li><a href="<?php echo base_url()?>laporan/laporan_pembayaran">Sudah Bayar</a></li>
								<li><a href="<?php echo base_url()?>laporan/laporan_tagihan">Belum Bayar</a></li>
                            </ul>
                        </li>
                        <li>
                            <a href="<?php echo base_url()?>pemberitahuan"><i class="fa fa-envelope fa-fw"></i> Kirim Pemberitahuan</a>
                            <a href="<?php echo site_url('cron/send_pengumuman.php');?>"><i class="fa fa-envelope fa-fw"></i> Kirim Pengumuman</a>
                        </li>
                    </ul>
                    <!-- /#side-menu -->
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <div class="clearfix"></div>
            <!-- /.navbar-static-side -->
        </nav>

    <!-- mulai konten -->
   <?php
		$this->load->view($main_view);
	?>
    <!-- end konten -->

    </div>
    <!-- /#wrapper -->

    <!-- Core Scripts - Include with every page -->    
    <script src="<?php echo base_url()?>content/theme/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	
	<!-- Plugins -->
    <script src="<?php echo base_url()?>content/theme/js/plugins/datepicker/bootstrap-datepicker.js"></script>
    <script src="<?php echo base_url()?>content/theme/js/plugins/datepicker/bootstrap-datepicker.id.js"></script>
    <script src="<?php echo base_url()?>content/theme/js/plugins/superlink/superlink.jquery.js"></script>
	
    <!-- SB Admin Scripts - Include with every page -->
    <script src="<?php echo base_url()?>content/theme/js/custom.js"></script>
	
	<!-- DatePicker Plugin-->
	<script>
	$(document).ready(function() {
		$('.tanggal').datepicker({
			format: "dd-mm-yyyy",
			language: "id",
            autoclose: true
		});
	});
	
	$(document).ajaxComplete(function(){
		$('.tanggal').datepicker({
			format: "dd-mm-yyyy",
			language: "id",
            autoclose: true
		});
	});
	</script>
</body>

</html>
